package com.gayworld.model.entity.qb;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonProperty;

 public class Session {
	/*
	 * "session":{"_id":"5394c73a535c12a97e015617","application_id":5949,
	 * "created_at"
	 * :"2014-06-08T20:27:38Z","device_id":0,"nonce":-731140769,"token"
	 * :"6121ea6a262950588c9ec45650d208452bb7bbf9"
	 * ,"ts":1402259257,"updated_at":"2014-06-08T20:27:38Z"
	 * ,"user_id":1196147,"id":53350}}
	 */
	@JsonProperty("_id")
	private String _id;
	@JsonProperty("application_id")
	private Integer application_id;
	@JsonProperty("created_at")
	private Date created_at;

	@JsonProperty("device_id")
	private Integer deviceId;
	@JsonProperty("nonce")
	private Integer nonce;
	@JsonProperty("token")
	private String token;
	@JsonProperty("ts")
	private Integer ts;
	@JsonProperty("updated_at")
	private Date updated_at;
	@JsonProperty("user_id")
	private Integer user_id;
	@JsonProperty("id")
	private Integer id;

	/**
	 * @return the _id
	 */
	public String get_id() {
		return _id;
	}

	/**
	 * @param _id
	 *            the _id to set
	 */
	public void set_id(String _id) {
		this._id = _id;
	}

	/**
	 * @return the application_id
	 */
	public Integer getApplication_id() {
		return application_id;
	}

	/**
	 * @param application_id
	 *            the application_id to set
	 */
	public void setApplication_id(Integer application_id) {
		this.application_id = application_id;
	}

	/**
	 * @return the created_at
	 */
	public Date getCreated_at() {
		return created_at;
	}

	/**
	 * @param created_at
	 *            the created_at to set
	 */
	public void setCreated_at(Date created_at) {
		this.created_at = created_at;
	}

	/**
	 * @return the deviceId
	 */
	public Integer getDeviceId() {
		return deviceId;
	}

	/**
	 * @param deviceId
	 *            the deviceId to set
	 */
	public void setDeviceId(Integer deviceId) {
		this.deviceId = deviceId;
	}

	/**
	 * @return the nonce
	 */
	public Integer getNonce() {
		return nonce;
	}

	/**
	 * @param nonce
	 *            the nonce to set
	 */
	public void setNonce(Integer nonce) {
		this.nonce = nonce;
	}

	/**
	 * @return the token
	 */
	public String getToken() {
		return token;
	}

	/**
	 * @param token
	 *            the token to set
	 */
	public void setToken(String token) {
		this.token = token;
	}

	/**
	 * @return the ts
	 */
	public Integer getTs() {
		return ts;
	}

	/**
	 * @param ts
	 *            the ts to set
	 */
	public void setTs(Integer ts) {
		this.ts = ts;
	}

	/**
	 * @return the updated_at
	 */
	public Date getUpdated_at() {
		return updated_at;
	}

	/**
	 * @param updated_at
	 *            the updated_at to set
	 */
	public void setUpdated_at(Date updated_at) {
		this.updated_at = updated_at;
	}

	/**
	 * @return the user_id
	 */
	public Integer getUser_id() {
		return user_id;
	}

	/**
	 * @param user_id
	 *            the user_id to set
	 */
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

}
